package org.example.model;

import java.io.Serial;
import java.io.Serializable;

public class Form implements Serializable {

    @Serial
    private static final long serialVersionUID = -3258839839160856613L;
    private String formName;
    private String rules;
    private String options;

    public Form(String formName, String rules, String options) {
        this.formName = formName;
        this.rules = rules;
        this.options = options;
    }
    public Form() {
    }

    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }

    public String getRules() {
        return rules;
    }

    public void setRules(String rules) {
        this.rules = rules;
    }

    public String getOptions() {
        return options;
    }

    public void setOptions(String options) {
        this.options = options;
    }

    @Override
    public String toString() {
        return "Form{" +
                "formName='" + formName + '\'' +
                ", rules='" + rules + '\'' +
                ", options='" + options + '\'' +
                '}';
    }
}
